Skip to content

fix: create command handles missing config and creates symlinks for l… - #9

Merged
mrsimpson merged 3 commits into
mainfrom
fix-docset-creation-listing
Oct 23, 2025
Merged

mrsimpson merged 3 commits into
mainfrom
fix-docset-creation-listing

Conversation

@mrsimpson

Copy link
Copy Markdown
Collaborator

…ocal folders

  • Create command now creates initial .knowledge/config.yaml when missing
  • Local folder docsets automatically get symlinks created in .knowledge/docsets/
  • Export calculateLocalPathWithSymlinks from core package
  • Add test for config creation and symlink functionality
  • Fixes issues with CLI create command failing and local docsets not being visible

…ocal folders

- Create command now creates initial .knowledge/config.yaml when missing
- Local folder docsets automatically get symlinks created in .knowledge/docsets/
- Export calculateLocalPathWithSymlinks from core package
- Add test for config creation and symlink functionality
- Fixes issues with CLI create command failing and local docsets not being visible
- Import and test createCommand directly from source
- Remove dependency on dist/index.js in test
- Mock process.cwd and console.log for cleaner testing
- Fix git-repo docset test to use TypeScript implementation
- Fix invalid path test to use TypeScript implementation
- Fix duplicate ID test to use TypeScript implementation
- Keep CLI integration test using dist/ as it tests end-to-end CLI experience
@mrsimpson
mrsimpson merged commit 2a5f5e9 into main Oct 23, 2025
1 check passed
@mrsimpson
mrsimpson deleted the fix-docset-creation-listing branch October 23, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant